package com.liu.fresh.mapper;

import java.util.List;
import java.util.Map;

import com.liu.fresh.entity.AdminInfo;


public interface IAdminInfoMapper {
	/**
	 * 会员登录
	 * @param af
	 * @return
	 */
	public AdminInfo login(Map<String, Object> map);


	/**
	 * 检查信息
	 * @param map
	 * @return
	 */
	public int checkInfo(Map<String, String> map);

	public int reg(AdminInfo af);
	
	public List<AdminInfo> findAll() ;
	
	public int add(Map<String, Object> map);
	
	public int update(Map<String, Object> map);


	public int del(Map<String, Object> map);


}
